package com.example.dto.webchat;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@JsonIgnoreProperties(ignoreUnknown = true) // 标注 类以忽略未知属性
@Schema(description = "微信小程序用户信息")
public class WebchatUserInfoDTO {
    private String openid;
    private String nickName;
    private Integer gender; // 性别 0：未知、1：男、2：女
    private String language;
    private String city;
    private String province;
    private String country;
    private String avatarUrl;
    private Watermark watermark;
    private Boolean isDemote;
}